@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="addForm">
        	

            <input type="hidden" id="id" value="${post.id}">
            <input type="hidden" id="postName" name="用户名" value="${post.postPname}" /> 

            <div class="row">
                    <#input id="title" name="标题" underline="true" value="${post.title}"/>
                    <#avatar id="imgUrl" name="图片" underline="true" avatarImg="${post.imgUrl}"/> 
                    <#textarea id="content" name="内容" underline="true"  value="${post.content}"/>
                    <!-- <#input id="postType" name="类型" underline="true" value="${post.postType}"/> -->
            </div>
            

            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-4" >
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PostInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PostInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/forum/Post/Post_info.js"></script>
@}
